package com.moshang.mall.auth.feign;

import com.moshang.mall.auth.vo.UserLoginVo;
import com.moshang.mall.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Author xww
 * @Description //TODO
 * @Date 2020/9/18   16:39
 **/
@FeignClient("mall-member")
public interface MemberFeignService {

    @PostMapping("/member/member/login")
    public R login(@RequestBody UserLoginVo vo);
}